package main

import (
	"log"
	"time"
)

func main() {
	go func() {
		defer func() {
			if err := recover(); err != nil {
				log.Fatalf("recover err: %v", err)
			}
		}()
		handle()
	}()

	time.Sleep(time.Second)
}

func handle() {
	go divide1(1, 0)
}

func divide1(a, b int) int {
	return a / b
}
